package entity;

/**
 * 返回结果封装
 * <p>title:entity</p>
 * name:orang
 * date:2018/9/12 0012-23:21
 */
public class Result {

    private boolean success;
    private String message;

    public Result(boolean success, String message) {
        super();
        this.success = success;
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
